package com.hfmall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author liclo
 * @since 2021-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class HfComments implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键，自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 非空，长度为5-10
     */
    private Integer userId;

    /**
     * 非空
     */
    private Integer goodsinfoId;

    private String contents;

    private LocalDateTime time;

    /**
     * 1：正常；2：禁用
     */
    private String status;


}
